﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="wfProvFind.aspx.cs" Inherits="wfCompras.wfProvFind" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">


    <link href="../Styles/General.css" rel="stylesheet" type="text/css" />
    <link href="../Styles/token-input-facebook.css" rel="stylesheet" type="text/css" />
    <link href="../Styles/jquery-ui.custom.css" rel="stylesheet" type="text/css" />

    <script src="../Scripts/jquery.min.js" type="text/javascript"></script>
   
    <script src="../Scripts/jquery.tokeninput.js" type="text/javascript"></script>
    <script src="../Scripts/jquery-ui.min.js" type="text/javascript"></script>
    <script src="../Scripts/jquery.purr.js" type="text/javascript"></script>
    <script src="../Scripts/General.js" type="text/javascript"></script>
    <title></title>

     <script  type="text/javascript">
         function DevolverDatos(codigo) {
             opener.fDevolverSeleccion(codigo);
         }
     </script>


</head>
<body>
    <form id="form1" runat="server">
     <div>
  
    
   
    <table id="TableDataHeader" cellpadding="0" cellspacing="0">
        <tr>
            <td colspan="11">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td style="width: 10px;">
                &nbsp;
            </td>
            <td>
                Codigo Personal : 
            </td>
            <td>
                    <asp:TextBox ID="txtidPersonal" runat="server" CssClass="esdTextBox" 
                    Width="100px"></asp:TextBox>
                </td>
            <td>
                Razon Social :
            </td>
            <td>
                    <asp:TextBox ID="txtrs" runat="server" CssClass="esdTextBox" 
                    Width="300px"></asp:TextBox>
                </td>
            <td colspan="4">
                &nbsp;
            </td>
            <td>
                    <asp:Button ID="btnLimpiar" runat="server"  Text="Limpiar" 
                    CssClass="esdButtonStyle" Width="80px" />
                </td>
            <td style="width: 10px;">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td colspan="11">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td style="width: 10px;">
                &nbsp;
            </td>
            <td>
                Doc. Identidad :
            </td>
            <td>
                    <asp:TextBox ID="txtDocIdent" runat="server" CssClass="esdTextBox" 
                    Width="100px"></asp:TextBox>
                </td>
            <td colspan="6">
                &nbsp;
            </td>
            <td>
                    <asp:Button ID="btnBuscar" runat="server" 
                        Text="Buscar" CssClass="esdButtonStyle" Width="80px" 
                        onclick="btnBuscar_Click" />
                </td>
            <td style="width: 10px;">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td colspan="11">
                &nbsp;
            </td>
        </tr>
    </table>

     <div style="overflow: auto; width: 690px; height: 380px">
        <div class="DataDetail" align="center">
                    <asp:GridView ID="gvListar" runat="server" AutoGenerateColumns="False" 
                       CellPadding="0" GridLines="None" AllowSorting="True" 
                       Width="684px" onrowdatabound="gvListar_RowDataBound" AllowPaging="True" 
                        ShowFooter="True" onpageindexchanging="gvListar_PageIndexChanging">
                      
                     
                        <AlternatingRowStyle CssClass="esdGridAlternativeRowStyle" />
                        <Columns>
                            <asp:BoundField DataField="RowNumber" HeaderText="N°" />
                            <asp:BoundField DataField="Codigo" HeaderText="Codigo" />
                            <asp:BoundField DataField="Razon Social" HeaderText="Razon Social" />
                            <asp:BoundField DataField="Apellido" HeaderText="Apellido" />
                            <asp:BoundField DataField="Nro Doc." HeaderText="Nro Doc." />
                            <asp:BoundField DataField="RUC" HeaderText="RUC" />
                           <asp:TemplateField>
                                <ItemTemplate>
                                    <a href="javascript:void(0)" id="lnkSeleccionar" runat="server">Seleccionar</a>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                        <HeaderStyle CssClass="esdGridHeaderStyle" />
                        <PagerStyle CssClass="gridPagerStyle" />
                        <RowStyle CssClass="esdGridRowStyle" />
                        <SelectedRowStyle CssClass="esdGridSelectedRowStyle" />
                    </asp:GridView>
                     </div>
                 <div>
                 <asp:Label ID="Message" runat="server"></asp:Label>
             </div>
          </div>
      </div>
    </form>
</body>
</html>
